class Auth {
	constructor(route = { a: 'a1' }) {
		this.a = route.a
		// console.log(this)
		// return this
	}
	// a
	// authen = [1, 2,3]
	change(val = 'a2') {
		return (this.a = val)
	}
	oChange() {
		// console.log();
		return this.change('a3')
	}
}
export const useClass = val => {
	let auth = new Auth(val)
	return auth
}
